﻿using BMS.Entity.Dictionary;
using BMS.Entity.RBAC;
using BMS.Entity.VForm;
using Microsoft.EntityFrameworkCore;

namespace BMS.DataAccess.EF
{
    public class SqlServerDbContext : DbContext
    {
        public SqlServerDbContext(DbContextOptions<SqlServerDbContext> options) : base(options)
        {
        }
        #region 7.17
        public virtual DbSet<DictionaryKey> DictionaryKeys { get; set; }
        public virtual DbSet<DictionaryValue> DictionaryValues { get; set; }
        public virtual DbSet<Departments> Departments { get; set; }
        public virtual DbSet<UserInfo> UserInfos { get; set; }
        public virtual DbSet<RoleUsers> RoleUsers { get; set; }
        public virtual DbSet<RoleInfo> RoleInfos { get; set; }
        public virtual DbSet<RolePermissions> RolePermissions { get; set; }
        public virtual DbSet<PermissionInfo> PermissionInfos { get; set; }
        public virtual DbSet<FormDesignInfo> FormDesignInfos { get; set; }
        #endregion
    }
}